New Stuff

KNN Classification of Nebulous Subgenres


I used my (very limited) corpus to train a KNN classifier. I used basically every numerical feature Spotify calculated, as I have not been able to find any that clearly distinguish the songs in my Metal playlist from those in my Rock playlist. I set k=10, as there are 100 songs in my playlist, and 10 is the square root of 100. I have tried other values for k but none outperform k=10.
As visible in the confusion matrix this algorithm performs fairly well, but it is most definitely biased as the dataset is quite small. I have decided to run three little experiments with the KNN, to see if three different genres would be considered Metal or Rock. More on the experiments on the following pages.

Is Glam Metal Really Metal? (according to the KNN)

Introduction

The first genre on the border between Rock and Metal is Glam Metal or Hair Metal. This was a popular subgenre of Metal in the ’80s, which (un)fortunately basically went extinct because of the genre on the next page. For this experiment I created a 10 song playlist which is meant to provide a good but brief overview of the genre, and functions as our first test subject. I expect most of these songs to be classed as Rock music, because I think the genre is closer to Hard Rock than it is to Metal, because it is more upbeat and happy than the Metal in my corpus playlist and because I only picked 10 songs.

Results

This needs a visual of some sort.
Metal: Both Mötley Crüe songs, ‘Welcome To The Jungle’, ‘Pour Some Sugar On Me’
Rock: Rest  Metal Ratio: 4/10

Conclusion

As expected, Glam Metal does not score very high, although higher than I expected honestly.

The Genre that ‘Killed’ Glam

Introduction

The second genre I wanted to take a look at is Grunge, the early ’90s Alternative Rock lovechild between Punk-Rock and Metal. For this playlist I added 5 heavy songs and 5 a bit slower songs, both are common in this genre, so my guess would be that the first 5 songs are classed as Metal and the last 5 are classed as Rock.

Results

This needs a visual of some sort.
Metal: ‘Rusty Cage’, ‘Heart-Shaped Box’, ‘Rooster’.

Conclusion

Interestingly enough the algorithm did not classify the songs as I expected. Grunge is slightly less of a Metal subgenre than Glam Metal according to the KNN.

Nu-Metal

Introduction

The third genre I chose is Nu-Metal, which confusingly enough is not considered to be ‘real Metal’ by the majority of the Metal community. That probably has more to do with the quality of some of the music in the genre than the actual sound of it. For this playlist I picked 10 songs that I feel capture the sound of the genre pretty well. I predict that the KNN will class most of the songs in this playlist as Metal.

Results

Slipnot and Korn are Metal, rest isn’t.

Conclusion

Same score as Glam…

Corpus

Introducing My Taste in Music

For this project I have chosen 10 bands, 5 of which are not considered Rock but not Metal bands and 5 of which are considered Metal bands. Metal is a subgenre of Rock that has a multitude of subgenres of itself. Metal is defined as: (“a type of Rock music with a very strong beat played very loud on electric guitars”)[https://www.oxfordlearnersdictionaries.com/definition/american_english/heavy-metal#:~:text=heavy%20metal-,noun,very%20loud%20on%20electric%20guitars]. Which is a bit of a vague definition in my opinion. When does a song have a strong enough beat or when is it played loud enough to be considered metal? My goal is to see how easily distinguishable these genres actually are if we looked at different features of songs in both playlists.

Band selection

The Rock bands I picked are: Queens of the Stone Age, Radiohead, Queen, Led Zeppelin and Arctic Monkeys.
The Metal bands I picked are: Metallica, Death, Gojira, Opeth and TOOL.
For both groups I tried to pick bands that sound as distinct as possible from eachother, however this list is definitely too limited to provide a complete overview of both genres. The non-Metal bands I chose are varied enough but still don’t provide an overview of the genre in its entirety and 3 of the 5 metal bands I chose fall into different categories of the Death Metal subgenre.

Song selection

For the rock songs I mainly focused on somewhat high tempo guitar based music, to make the distinction between Metal and Rock as hard as possible. Some Queen and Radiohead songs are obvious exceptions to this, however I feel these are still interesting to analyse as they often have shifting dynamics, or they can provide a baseline to define a non-Metal Rock song. Queens of the Stone Age is the non-Metal band that comes closest to being a Metal band, but I decided not to include their actual Metal songs. Led Zeppelin is often credited for at least partially inspiring the Metal genre.
For the Metal playlist I picked songs that are unmistakably Metal. Metallica is an obvious inclusion, however I only added songs from their early Thrash Metal days. Death and Gojira fit the bill as well.

Outliers

Queens of the Stone Age - ‘My God is the Sun’; Heavy non-Metal song.
Radiohead - ‘Paranoid Android’; Alternates between soft Rock parts and chaotic loud solos.
Led Zeppelin - ‘Immigrant Song’; Considered “Proto-Metal”, influential on the genre.
Opeth - ‘The Leper Affinity’; Good example of Opeth’s dynamics.
TOOL - ‘Bottom’ and ‘Ticks & Leeches’; Both songs have very quiet build-up parts in the middle.

Is Metal that Much Angrier?


By looking at this plot it’s obvious that the songs in the Metal part of the playlist are a lot more clustered toward high energy and low valence. The Rock songs seem to be a lot more scattered, which could be explained by the variety of Rock subgenres in that part of the playlist. The purple lines represent the means of both variables in both playlists and show a that Metal tends to have a lower valence and a higher energy. So yes, Metal is angrier (on average at least).
I will be exploring this topic under this tab.

More Aggressive = Faster?


Contrary to the definition of the genre, the mean tempo of the Metal playlist is actually slightly lower than the mean tempo of the Rock playlist. This could be because Metal tracks feature more tempo changes and have are often structured differently than (popular) Rock tracks. This is a topic I will explore more in the (structures)[#structures] tab. However as it only differs 3 bpm, it’s not a significant difference.
As I expected, the songs on my metal playlist are slightly less popular than the songs in my Rock playlist. This could be due to track and mostly band selection, as there’s no clear indication that tempo has anything to do with it. Interestingly though, the least popular Metal track is still more popular than the least popular Rock tracks.

SD and mean tempo


Metal tracks tend to have more varying tempos than rock tracks. (WIP)

Emotions

Introducting Keys


The key a song is written in plays a major role in the emotional perception of a track. Minor keys are often deemed sadder or less energetic, while major keys are often described as happier or more energetic. As seen on this tab, these descriptions aren’t alway accurate.
For every existent key, there is at least one song in the Rock playlist that uses it, this is not the case for the Metal playlist however. The popularity of Em among Metal tracks is unsurprising, as the key represents grief, mournfulness and restlessness of spirit. For the Rock playlist there is not really a key that stands out as much.

Back to Keys (1/3)


As this song is in the key of Am, the keygram seems to be rather accurate. As this song is quite long and has an interesting structure I’d expected the keygran to do worse.

Back to Keys (2/3)


This song is in the key of Em, which is also pretty obvious from the keygram. Before and a bit after the 300s mark the keygram seems to do a little worse, but overall it gets it right.

Back to Keys (3/3)


Unlike the previous two examples, it doesn’t work for this song at all. It’s supposed to be in Em, however from the keygram that is impossible to tell.

Songs with Low Valence (1/3)


This song has the lowest valence of not only the Metal part of the corpus, but of the corpus in its entirety. It also happens to have the highest energy of the entire corpus. The chromagram makes that pretty clear, by being almost entirely incomprehensible. The only pitch class which seems to be prevalent is the F. The parts at around 140 seconds and at 200 seconds stand out, as there are no real pitch classes that seem to be prevalent at all. In these parts the singing and the instrumental change a bit from the rest of the song, the singing making way for a low grunt and the palm muted guitars allow the drums to rise to the center of attention, muddling the chromagram.

Songs with Low Valence (2/3)


“Creep” by Radiohead scores lowest on valence in the Rock half of the corpus and the song scores a lot lower on energy than “To Sirius” on the previous page. Here the chord progression is a lot easier to read, as the G, B and C are the pitch classes with the highest magnitude.

Songs with Low Valence (3/3)


(I’m not sure if I’m keeping this as a separate page or if I’m swapping this with the chromagram for Creep, as this is basically the same information.)
As “Creep” has an interesting but simple chord progression, it’s chordogram is clear. The four chords constantly looping are G, B, C and Cm and those are the only four chords in the song.

Structures

Histogram of Tempi


In this histogram it’s quite clear that the songs in the Metal playlist overall tend to be a bit slower than the songs in the Rock playlist. This could might be because the songs in the Metal playlist tend to have more shifting tempos, as seen in one of my earlier visualizations on the Corpus tab.

Songs with Weird Structures (1/2)


The song “Deliverance” by Opeth is part of the Progressive Death Metal subgenre, which explains its peculiar structure. As visible in the cepstrogram the timbre changes at around a minute and 10 seconds in, when the vocalist starts singing instead of his usual low growling and more importantly the guitar tone changes from heavily distorted to clean. At roughly 5 minutes into the song, the clean singing starts again, however this part does feature a distorted guitar, so this is not visible in the cepstrogram. The self-similarity matrices highlight the same clean part as an outlier, and both show a highlight at around 10 minutes in at the introduction of the outro riff.

Tempogram Deliverance


In the tempogram of the song the highlights seen in its SSM aren’t visible, so the tempo remains the same but it’s just the instrumental that changes. This is quite interesting as I find the clean passage near the start of the song to be slower than the intro. The part where all music suddenly drops out at the beginning of this clean part is visible in the tempogram however. There are some highlights at around 160 bpm throughout the song, but those are probably just a product of tempo octaves.

Songs with Weird Structures (2/2)


Another song in my corpus with an interesting structure is “Paranoid Android” by Radiohead. However where “Deliverance” has a clear standout moment, this song consists of three audibly different parts: the intro, the aggressive part and the “rain down” part (from around 3:35 to around 6:10). These different parts aren’t clearly visible in the chroma based SSM unfortunately, as it shows so many significant changes it becomes a bit messy. These changes are visible in the cepstrogram and the timbre based SSM, however. This may have something to do with the fact the the song stays in the same key, but the instrumentation varies from an acoustic guitar in the intro and the “rain down” part to distorted guitars in the aggressive parts.

Tempogram Paranoid Android


The changes from the softer to the aggressive parts are quite clear from the tempogram, even moreso than from the SSMs. However the tempogram does not seem to be sure as to what the tempo of the ending is. I had expected it to fall back down to around 80 bpm, so the same as the start of the song. Again there’s some visual noise, however it doesn’t appear to be at the tempo octaves.